package com.woniuxy.consume.service;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.stereotype.Service;

@Service
public class ConsumeService {

    @SentinelResource("todo") //配置sentinel资源的名称
    public String todo(){
        return "todo";
    }
}
